Login     Sign up
Watermark on photos
Toni Lenia M. (@toni)
Join date: Jul 8th 2010
Community posts: 28
View Profile
Send Message

A new feature request :)

[b]Watermark on photos[/b]

One of the secrets of a good social network is the privacy of users.

A watermark in the pictures of users is important.
The watermark may be a "degraded band" with the name of the social network. This watermark can be defined and activated from the admin panel, optional feature.

168 months ago
DeFender (@defender)
Join date: Oct 1st 2010
Community posts: 167
View Profile
Send Message

WATERMARK

agree and up.

and

one question :)

photo permissions, like private pictures.

and

I'm new here . hi all !
my php is better then my english :D

166 months ago
Philip Rees (@piprees)
Join date: Dec 8th 2010
Community posts: 98
View Profile
Send Message

AGREED - Watermark from bottom left to top right - ESSENTIAL

163 months ago
Mark S. (@markiemark67)
Join date: Dec 4th 2010
Community posts: 136
View Profile
Send Message

Agreed Would be a good add on..

163 months ago
Eliz zeta (@eliz)
Join date: Nov 29th 2010
Community posts: 153
View Profile
Send Message

agree, at the moment, i am thinking about doing it with a cron job, but it will be cool to have it by default.

this what i was investigating ( i dont control php code )

<?php

header('content-type: image/jpeg');

$watermark = imagecreatefrompng('watermark.png');
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);
$image = imagecreatetruecolor($watermark_width, $watermark_height);
$image = imagecreatefromjpeg($_GET['src']);
$size = getimagesize($_GET['src']);
$dest_x = $size[0] - $watermark_width - 5;
$dest_y = $size[1] - $watermark_height - 5;
imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100);
imagejpeg($image);
imagedestroy($image);
imagedestroy($watermark);

?>

it s taken from

[url]http://articles.sitepoint.com/article/watermark-images-php[/url]

may be php gurus her can adapt it

163 months ago
sujay sreedhar (@webkoot)
Join date: Nov 11th 2010
Community posts: 98
View Profile
Send Message

dude thats great

162 months ago
maxim cristian (@n3c3sar)
Join date: Mar 25th 2011
Community posts: 7
View Profile
Send Message

ok...that's gr8 but how i integrate in my website?
please,tell me....anyone
Thank's

159 months ago